<?php
/**
 *	description:ZMAXWECHAT 入口点文件
 *  author：min.zhang
 *  Email:zhang19min88@163.com
 *	Url:http://www.zmax99.com
 *  copyright:南宁市程序人软件科技有限责任公司保留所有权利
 *  date:2016-04-28
 * @license GNU General Public License version 3, or later
 *  check date:2016-05-26
 *  checker :min.zhang
 */

defined('_JEXEC') or die('you can not access this file!');

if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
jimport('joomla.application.component.controller');
JLoader::register('zmaxwechatHelper',dirname(__FILE__).DS.'helpers'.DS.'zmaxwechat.php');

$controller = JControllerLegacy::getInstance('zmaxwechat');
$jinput = JFactory::getApplication()->input;
$task = $jinput->get('task',"",'STR');

$controller->execute($task);
$controller->redirect();
